package com.sy.notice.biz.eventdefine.entity;

import lombok.Data;

import java.util.Date;

/**
 * @author 舒祥
 * @date 2022-01-14 17:03
 * @desc {
 * "key":"event-01",
 * "eventDesc":"通知事件1",
 * "eventStatus":1,
 * "eventNoticeType":1,
 * "eventRules":"fixedDelay:5",
 * "createTime":"2022-01-14 21:00:00",
 * "updateTime":"2022-01-14 21:00:00",
 * }
 */
@Data
public class EventTask {

    /**
     * 事件的key
     */
    private String key;

    /**
     * 事件描述
     */
    private String eventDesc;


    /**
     * 事件状态 0 1
     */
    private Integer eventStatus;


    /**
     * 事件通知类型 [短信,邮箱,钉钉]
     */
    private Integer eventNoticeType;

    /**
     * 手机号
     */
    private String noticePhone;
    /**
     * 邮箱
     */
    private String noticeEmail;
    /**
     * app的秘钥key
     */
    private String noticeAppSk;


    /**
     * 定时规则
     */
    private String eventRules;


    private Date createTime;

    private Date updateTime;
}
